package com.ruoyi.merchant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 救援任务对象 rescue_task
 * 
 * @author ruoyi
 * @date 2025-09-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RescueTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id编号 */
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer uid;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Integer mid;

    /** 发起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发起时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 救援类型id */
    @Excel(name = "救援类型id")
    private Integer typeId;

    /** 起点纬度 */
    @Excel(name = "起点纬度")
    private String position;

    /** 起点经度 */
    @Excel(name = "起点纬度")
    private String positionLongitude;

    /** 终点纬度 */
    @Excel(name = "终点纬度")
    private String end;

    /** 终点纬度 */
    @Excel(name = "终点经度")
    private String endLongitude;

    /** 求助人 */
    @Excel(name = "求助人")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 车型 */
    @Excel(name = "车型")
    private String carType;

    /** 求助信息描述 */
    @Excel(name = "求助信息描述")
    private String description;

    /** 状态 （0求助中、1已结单2、超时） */
    @Excel(name = "状态 ", readConverterExp = "0=求助中、1已结单2、超时")
    private Integer status;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer deleted;


}
